package com.tbit.main.service.impl;

import com.tbit.main.dao.core.OssConfigDao;
import com.tbit.main.pojo.OssConfig;
import com.tbit.main.service.OssConfigService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author LMY
 * @create 2022-05-13 16:34
 */
@Service("ossConfigService")
public class OssConfigServiceImpl implements OssConfigService {

    @Autowired
    private OssConfigDao ossConfigDao;

    @Override
    public OssConfig getByAccountId(Integer accountId) {
        return ossConfigDao.getByAccountId(accountId);
    }
}
